//
//  DrawItem.m
//  RapidMo
//
//  Created by Michael on 10.09.09.
//  Copyright 2009 Artgruppe inc. All rights reserved.
//

#import "DrawItem.h"


@implementation DrawItem
@synthesize color;
@synthesize type;
@synthesize rad;
@synthesize center;
@synthesize image;
@synthesize animPictures;
@synthesize animationDuration;
@synthesize nodeNum;
/*
- (void)encodeWithCoder:(NSCoder *)encoder {	
	
	[encoder encodeObject:type forKey:kType];
	if(type==TYPE_LINE){		
		[encoder encodeObject:color forKey:kColor];
		[encoder encodeObject:center forKey:kCenter];
	}
	else if(type==TYPE_IMAGE)
	{
		[encoder encodeObject:image forKey:kImage];
		[encoder encodeObject:center forKey:kCenter];		
	}
	else if(type==TYPE_CIRCLE)
	{
		[encoder encodeObject:rad forKey:kRad];
		[encoder encodeObject:color forKey:kColor];
		[encoder encodeObject:center forKey:kCenter];
	}
	
}

- (id)initWithCoder:(NSCoder *)decoder {
    if (self = [super init]) {
		
	}	
	
	return self;
}

- (id)copyWithZone:(NSZone *)zone {
	//DrawItem* copy=[[[self class] allocWithZone:zone] init];
	//copy.color=[[self.color copyWithZone:zone] autorelease];
	
	return copy;
}
*/
@end
